﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PCRequestQuery.aspx.cs" Inherits="WMS6.Web.Inventory.PCRequestQuery" meta:resourcekey="Page" %>
<%@ Register src="../UserControls/MultipleSelectControl.ascx" tagname="MultipleSelectControl" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>PCRequestQuery</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />
     <script src="../Js/jquery.js" type="text/javascript"></script>
    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script> 
    <script src="../Js/util.js" type="text/javascript"></script>
    <script src="../Js/InitPage.js" type="text/javascript"></script>    
    <script type="text/javascript">
       
        //初始化页面
        window.onload = function(){
            initQueryPage();
        }
        
        //窗口大小改变时触发的事件
        window.onresize = function()
	    {
	        autoResizeQueryDiv("div_query");
	    }
	    
	    //弹出窗口选择开始货主
        function selectStartOwner()
        {
            var rtnValue = popModalWindow('../Configuration/OwnerQuery.aspx?action=txtOwnerIDStart','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtOwnerIDStart").focus();
                document.getElementById("txtOwnerIDStart").value = rtnValue;
            }
        }
        
        //弹出窗口选择结束货主
        function selectEndOwner()
        {
            var rtnValue = popModalWindow('../Configuration/OwnerQuery.aspx?action=txtOwnerIDEnd','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtOwnerIDEnd").focus();
                document.getElementById("txtOwnerIDEnd").value = rtnValue;
            }
        }
        
        //弹出窗口选择开始货品
        function selectStartSKU()
        {
            var rtnValue = popModalWindow('../Configuration/SKUQuery.aspx?action=txtSkuIDStart','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtSkuIDStart").focus();
                document.getElementById("txtSkuIDStart").value = rtnValue;
            }
        }
        //弹出窗口选择结束货品
        function selectEndSKU()
        {
            var rtnValue = popModalWindow('../Configuration/SKUQuery.aspx?action=txtSkuIDEnd','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtSkuIDEnd").focus();
                document.getElementById("txtSkuIDEnd").value = rtnValue;
            }
        }
    </script>
</head>
<body>
    <form id="F5540" runat="server">
    <div>
            
            <div id="div_menu">
                <div style="float: left; width: 8px;">
                    <div class="tabL"></div>
                </div>
                <div class="tabLabelCont tabCur">
                    <asp:Label ID="lblReceiptQuery" runat="server" Text="物理盘点申请" CssClass="hover" 
                        meta:resourcekey="lblReceiptQuery"></asp:Label>
                </div>
                <div style="float: left">
                    <div class="tabR"></div>
                </div>
             </div>
            
            
            <div id="div_query">
                <table width="360" cellpadding="0" cellspacing="0" >
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblPhysicalRequestID" runat="server" 
                                Text="申请编号" meta:resourcekey="lblPhysicalRequestID"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtPhysicalRequestID" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtPhysicalRequestID"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlPhysicalRequestID" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlPhysicalRequestID">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblStatus" runat="server" Text="状态" 
                                meta:resourcekey="lblStatus"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        <uc1:MultipleSelectControl ID="MSCStatus" runat="server" />
                              <%--<asp:DropDownList ID="ddlStatus" runat="server" CssClass="mediumselectbox" 
                                  meta:resourcekey="ddlStatus"  >
                            </asp:DropDownList>--%> 
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlStatusOper" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlStatusOper">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblOwnerIDStart" runat="server" Text="开始货主代码" 
                                meta:resourcekey="lblOwnerIDStart"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtOwnerIDStart" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtOwnerIDStart"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectStartOwner();"/>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlOwnerIDStart" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlOwnerIDStart">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblOwnerIDEnd" runat="server" Text="结束货主代码" 
                                meta:resourcekey="lblOwnerIDEnd"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtOwnerIDEnd" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtOwnerIDEnd"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectEndOwner();"/>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlOwnerIDEnd" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlOwnerIDEnd">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblSkuIDStart" runat="server" Text="开始货品代码" 
                                meta:resourcekey="lblSkuIDStart"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtSkuIDStart" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtSkuIDStart"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectStartSKU();"/>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlSkuIDStart" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlSkuIDStart">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblSkuIDEnd" runat="server" Text="结束货品代码" 
                                meta:resourcekey="lblSkuIDEnd"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtSkuIDEnd" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtSkuIDEnd"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectEndSKU();"/>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlSkuIDEnd" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlSkuIDEnd">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblLocStart" runat="server" Text="开始货位" 
                                meta:resourcekey="lblLocStart"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtLocStart" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtLocStart"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlLocStart" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlLocStart">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblLocEnd" runat="server" Text="结束货位" 
                                meta:resourcekey="lblLocEnd"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtLocEnd" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtLocEnd"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlLocEnd" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlLocEnd">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblLocLevelStart" runat="server" Text="开始货位层级" 
                                meta:resourcekey="lblLocLevelStart"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtLocLevelStart" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtLocLevelStart"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlLocLevelStart" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlLocLevelStart">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblLocLevelEnd" runat="server" Text="结束货位层级" 
                                meta:resourcekey="lblLocLevelEnd"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtLocLevelEnd" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtLocLevelEnd"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlLocLevelEnd" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlLocLevelEnd">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblZoneIDStart" runat="server" Text="开始储区" 
                                meta:resourcekey="lblZoneIDStart"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtZoneIDStart" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtZoneIDStart"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlZoneIDStart" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlZoneIDStart">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblZoneIDEnd" runat="server" Text="结束储区" 
                                meta:resourcekey="lblZoneIDEnd"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtZoneIDEnd" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtZoneIDEnd"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlZoneIDEnd" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlZoneIDEnd">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblAreaIDStart" runat="server" Text="开始区域" 
                                meta:resourcekey="lblAreaIDStart"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtAreaIDStart" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtAreaIDStart"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlAreaIDStart" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlAreaIDStart">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblAreaIDEnd" runat="server" Text="结束区域" 
                                meta:resourcekey="lblAreaIDEnd"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtAreaIDEnd" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtAreaIDEnd"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlAreaIDEnd" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlAreaIDEnd">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                </table>
            </div>
            
            <div id="div_bottom">
            <table>
                <tr>
                    <td>
                        <asp:Button ID="btnSearch" runat="server" Text="<%$Resources:ButtonResource,btnSearch%>" CssClass="button" 
                            Enabled="False"  OnClick="btnSearch_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnNew" runat="server" Text="<%$Resources:ButtonResource,btnNew%>"  Enabled="False"  
                            CssClass="button" 
                            OnClientClick="javascript:window.location.href='PCRequest.aspx?from=query';return false;" />
                    </td>
                    <td>
                        <asp:Button ID="btnList" runat="server" Text="<%$Resources:ButtonResource,btnList%>" CssClass="button" 
                            Enabled="False" 
                            OnClientClick="javascript:window.location.href='PCRequestList.aspx?from=list';return false;" />
                    </td>
                    <td>
                        <asp:Button ID="btnExport" runat="server" Text="<%$Resources:ButtonResource,btnExport%>" CssClass="button" 
                            Enabled="False" 
                            OnClientClick="javascript:window.location.href='PCRequestList.aspx?from=query&export=y';return false;"  />
                    </td>
                </tr>
            </table>
        </div>
        <input id="hdnActionID" type="hidden" runat="server" />
            
    </div>
     <link href="../Js/JqueryPlugin/jquery.multiselect.css" rel="stylesheet" type="text/css" />
    <link href="../Js/JqueryPlugin/jquery.ui.css" rel="stylesheet" type="text/css" />

    <script src="../Js/JqueryPlugin/jquery.multiselect.min.js" type="text/javascript"></script>

    </form>
</body>
</html>
